package com.vehicle.mq.handler;

import com.vehicle.mq.message.BaseMessage;
import com.vehicle.mq.message.SmsMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by yantingbin on 2017/11/30.
 */
public class SmsHandler implements MessageHandler<SmsMessage> {
    private static final Logger LOGGER = LoggerFactory.getLogger(SmsHandler.class);

    @Override
    public void handle(SmsMessage smsMessage) {
        LOGGER.info("send sms message ,content "+smsMessage.toString());
    }
}
